    		<div id="sticky_navigation" style="height:30px;border-bottom:4px solid #DFDFDF;">
        	<p class="pull-left" style="font-size:16px; line-height:30px;"><strong><?php echo $this->translate('优惠促销规则'); ?></strong></p>
        	<p class="pull-right">
        	<a href="<?php echo $this->url('promotionsetutor/default',array('action'=>'add')); ?>" class="btn btn-small btn-primary"><i class="icon-plus icon-white"></i> <?php echo $this->translate('添加新规则'); ?></a>&nbsp;
        	<a href="<?php echo $this->myviewalias()->dbshopHelpUrl('goods_promotions_set'); ?>" target="_blank" class="btn btn-small btn-info"><i class="icon-info-sign icon-white"></i> <?php echo $this->translate('查看帮助说明'); ?></a>
        	</p>
        	</div>
            <table class="table table-hover">
            <thead style="background:#CCC;">
            	<tr>
                    <th width="20%"><?php echo $this->translate('优惠规则名称'); ?></th>
                    <th width="35%"><?php echo $this->translate('优惠规则描述'); ?></th>
                    <th width="20%"><?php echo $this->translate('有效时间'); ?></th>
                    <th width="10%"><?php echo $this->translate('状态'); ?></th>
                    <th width="15%"><?php echo $this->translate('操作'); ?></th>
                </tr>
            </thead>
            <?php
			if ($this->promotions_rule_list) {
				foreach ($this->promotions_rule_list as $rule_val) {
			?>
            <tr>
            	<td><?php echo $this->escapeHtml($rule_val['promotions_name']); ?></td>
                <td><?php echo $rule_val['promotions_info']; ?></td>
                <td><?php
                $start_time = empty($rule_val['promotions_start_time']) ? '' : date("Y-m-d H:i", $rule_val['promotions_start_time']);
				$end_time   = empty($rule_val['promotions_end_time']) ? '' : date("Y-m-d H:i", $rule_val['promotions_end_time']);
				if($start_time == '' and $end_time == '') {
					$start_and_end_time = $this->translate('长期有效');
				} elseif ($end_time != '' and time() > $rule_val['promotions_end_time']) {
					$start_and_end_time = '<font color="#FF0000">' . $this->translate('已经过期') . '</font>';
				} else {
					$start_and_end_time = (empty($start_time) ? $this->translate('无') : $start_time) . ' / ' . (empty($end_time) ? $this->translate('无') : $end_time);
				}

				echo $start_and_end_time; ?></td>
                <td><?php echo $rule_val['rule_state'] == 1 ? $this->translate('开启') :$this->translate('关闭'); ?></td>
            	<td style="vertical-align:middle">
                    <a href="<?php echo $this->url('promotionsetutor/default/promotions_id',array('action'=>'edit','promotions_id'=>$rule_val['promotions_id'])); ?>"><?php echo $this->translate('编辑'); ?></a>
                    <span>|</span>
                    <a href="<?php echo $this->url('promotionsetutor/default/promotions_id',array('action'=>'del', 'promotions_id'=>$rule_val['promotions_id'])); ?>" onclick="return window.confirm('<?php echo $this->translate('您确实要删除该优惠规则吗？'); ?>');"><?php echo $this->translate('删除'); ?></a>
                </td>
            </tr>
            <?php
				}
			} else {
			?>
			<tr><td colspan="5"><?php echo $this->translate('暂无促销规则'); ?></td></tr>
			<?php } ?>
            </table>